package cn.tedu.mybatis.mapper;

import cn.tedu.mybatis.pojo.entity.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {
    @Insert("insert into user(username,password,nickname,created) values " +
            "(#{username},#{password},#{nickname},#{created})")
    void insertUser(User user);


}
